<template>
    <div class="statistics wrap-table">
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="研究对象" name="first" :lazy="true">
                <research-object></research-object>
            </el-tab-pane>
            <el-tab-pane label="健康访谈" name="second" :lazy="true">
                <healthy-interview></healthy-interview>
            </el-tab-pane>
            <el-tab-pane label="行动计划" name="third" :lazy="true">
                <action-plan></action-plan>
            </el-tab-pane>
            <el-tab-pane label="营养门诊" name="fourth" :lazy="true">
                <dietitian-clinic></dietitian-clinic>
            </el-tab-pane>
            <el-tab-pane label="健康教育" name="fifth" :lazy="true">
                <healthy-education></healthy-education>
            </el-tab-pane>
            <el-tab-pane label="健康现况风险因素" name="sixed" :lazy="true">
                <healthy-risk></healthy-risk>
            </el-tab-pane>
            <el-tab-pane label="健康现况风险因素-图" name="sevened" :lazy="true">
                <health-echart></health-echart>
            </el-tab-pane>
			<el-tab-pane label="统计数据导出" name="eighth" :lazy="true">
			    <Data-export></Data-export>
			</el-tab-pane>
        </el-tabs>
    </div>
</template>
<script>
import ResearchObject from './researchObject.vue'  //研究对象
import HealthyInterview from './healthyInterview.vue'  //健康访谈
import ActionPlan from './actionPlan.vue'  //行动计划
import DietitianClinic from './dietitianClinic.vue'  //营养门诊
import healthEchart from './healthEchart.vue'  //健康教育
import HealthyRisk from './healthRisk.vue'
import HealthyEducation from './healthyEducation.vue'  //健康教育
import DataExport from './dataExport.vue'  //统计数据导出
export default {
    components:{
        ResearchObject,
        HealthyInterview,
        ActionPlan,
        DietitianClinic,
        HealthyEducation,
        HealthyRisk,
	    healthEchart,
		DataExport
    },
    data() {
        return {
            activeName: 'first'
        }
    },
    methods: {
        handleClick(tab, event) {
          // console.log(tab, event);
        }
    }
  }
</script>
<style scoped lang="scss">

</style>
